const { DataTypes } = require('sequelize')
const { sequelize } = require('./db')
// 点赞模型
const Like = sequelize.define('like', {
    // 点赞的文章id
    articleId: {
        type: DataTypes.INTEGER,
    },
    // 点赞的用户名
    username: {
        type: DataTypes.STRING
    },
});
module.exports = {
    Like
}